package com.jbit.examSystem.dao;

import com.jbit.examSystem.pojo.Chapter;
import com.jbit.examSystem.pojo.Course;
import com.jbit.examSystem.pojo.CourseCondition;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CourseDao {
    List<Course> getAllCourse();

    List<Chapter> getCourseByName(@Param("courseId") Integer courseId);

    List<Course> getCourseByGradeId(@Param("gradeId") Integer gradeId);
}
